cmake_minimum_required(VERSION 3.5.0)

set(NAME client)
project(${NAME})

set(CMAKE_CXX_STANDARD 17)

file(GLOB parent_srcs ../*.cpp)
file(GLOB this_srcs *.cpp)
file(GLOB tcp_tasks_srcs tcp/*.cpp)
file(GLOB udp_tasks_srcs ucp/*.cpp)

find_package(WebSocket)

add_executable(${NAME} main.cpp ${parent_srcs} ${this_srcs} ${tcp_tasks_srcs} ${udp_tasks_srcs})
target_link_libraries(${NAME} WebSocket)